//
//  TopSecondModel.m
//  Products_B
//
//  Created by lanou on 16/6/3.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "TopSecondModel.h"

@implementation TopSecondModel

+ (NSMutableArray *)topSecondModelAnalyseDataWithJsonDic:(NSDictionary *)jsonDic {
    NSMutableArray *modelArray = [NSMutableArray array];
    
    NSDictionary *dataDic = [jsonDic objectForKey:@"data"];
    NSArray *listCommodityArray = [dataDic objectForKey:@"listCommodity"];
    for (NSDictionary *dic in listCommodityArray) {
        TopSecondModel *model = [[TopSecondModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [modelArray addObject:model];
    }
    return modelArray;
}

@end
